package com.tang.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "添加评论dto")
public class AddCommentDto {
    private Long id;

    @ApiModelProperty("评论类型（0代表文章评论，1代表友链评论）")
    private String type;

    @ApiModelProperty("文章id")
    private Long articleId;

    @ApiModelProperty("根评论id")
    private Long rootId;

    @ApiModelProperty("评论内容")
    private String content;

    @ApiModelProperty("所回复的目标评论的userid")
    private Long toCommentUserId;

    @ApiModelProperty("回复目标评论id")
    private Long toCommentId;


    @ApiModelProperty("删除标志（0代表未删除，1代表已删除）")
    private Integer delFlag;

}
